using System;
using System.Runtime.Serialization;
namespace eTMS.DAO{
	/********************************BEGIN MucHocBongEntity****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:26/10/2011 44:05:56</para>
	/// <para>Class Name: MucHocBongEntity</para>
	/// <para>Description: ClassMucHocBongEntity store data of table MucHocBong</para>
	///</summary>

	[DataContract]
	public partial class MucHocBongEntity{


		private bool _InternalChangedIsNullMucHocBong_ID=true;
		private bool _IsNullMucHocBong_ID=true;
		private bool _InternalChangedIsNullTuDiem=true;
		private bool _IsNullTuDiem=true;
		private bool _InternalChangedIsNullDenDiem=true;
		private bool _IsNullDenDiem=true;
		private bool _InternalChangedIsNullSoTien=true;
		private bool _IsNullSoTien=true;
		private bool _InternalChangedIsNullLayCanDuoi=true;
		private bool _IsNullLayCanDuoi=true;
		private bool _InternalChangedIsNullLayCanTren=true;
		private bool _IsNullLayCanTren=true;
		private bool _InternalChangedIsNullTuDiemRL=true;
		private bool _IsNullTuDiemRL=true;
		private bool _InternalChangedIsNullDenDiemRL=true;
		private bool _IsNullDenDiemRL=true;
		private bool _InternalChangedIsNullLayCanDuoiRL=true;
		private bool _IsNullLayCanDuoiRL=true;
		private bool _InternalChangedIsNullLayCanTrenRL=true;
		private bool _IsNullLayCanTrenRL=true;
		private bool _InternalChangedIsNullTenMuc=true;
		private bool _IsNullTenMuc=true;
		private bool _InternalChangedIsNullCachTinhHocBong_ID=true;
		private bool _IsNullCachTinhHocBong_ID=true;
		private int _MucHocBong_ID;
		private Decimal _TuDiem;
		private Decimal _DenDiem;
		private Decimal _SoTien;
		private bool _LayCanDuoi;
		private bool _LayCanTren;
		private Decimal _TuDiemRL;
		private Decimal _DenDiemRL;
		private bool _LayCanDuoiRL;
		private bool _LayCanTrenRL;
		private string _TenMuc;
		private int _CachTinhHocBong_ID;
		[DataMember]
		public bool IsNullMucHocBong_ID{
			get{return _IsNullMucHocBong_ID;}
			set{if(!_InternalChangedIsNullMucHocBong_ID)_IsNullMucHocBong_ID=value;}
		}
		[DataMember]
		public bool IsNullTuDiem{
			get{return _IsNullTuDiem;}
			set{if(!_InternalChangedIsNullTuDiem)_IsNullTuDiem=value;}
		}
		[DataMember]
		public bool IsNullDenDiem{
			get{return _IsNullDenDiem;}
			set{if(!_InternalChangedIsNullDenDiem)_IsNullDenDiem=value;}
		}
		[DataMember]
		public bool IsNullSoTien{
			get{return _IsNullSoTien;}
			set{if(!_InternalChangedIsNullSoTien)_IsNullSoTien=value;}
		}
		[DataMember]
		public bool IsNullLayCanDuoi{
			get{return _IsNullLayCanDuoi;}
			set{if(!_InternalChangedIsNullLayCanDuoi)_IsNullLayCanDuoi=value;}
		}
		[DataMember]
		public bool IsNullLayCanTren{
			get{return _IsNullLayCanTren;}
			set{if(!_InternalChangedIsNullLayCanTren)_IsNullLayCanTren=value;}
		}
		[DataMember]
		public bool IsNullTuDiemRL{
			get{return _IsNullTuDiemRL;}
			set{if(!_InternalChangedIsNullTuDiemRL)_IsNullTuDiemRL=value;}
		}
		[DataMember]
		public bool IsNullDenDiemRL{
			get{return _IsNullDenDiemRL;}
			set{if(!_InternalChangedIsNullDenDiemRL)_IsNullDenDiemRL=value;}
		}
		[DataMember]
		public bool IsNullLayCanDuoiRL{
			get{return _IsNullLayCanDuoiRL;}
			set{if(!_InternalChangedIsNullLayCanDuoiRL)_IsNullLayCanDuoiRL=value;}
		}
		[DataMember]
		public bool IsNullLayCanTrenRL{
			get{return _IsNullLayCanTrenRL;}
			set{if(!_InternalChangedIsNullLayCanTrenRL)_IsNullLayCanTrenRL=value;}
		}
		[DataMember]
		public bool IsNullTenMuc{
			get{return _IsNullTenMuc;}
			set{if(!_InternalChangedIsNullTenMuc)_IsNullTenMuc=value;}
		}
		[DataMember]
		public bool IsNullCachTinhHocBong_ID{
			get{return _IsNullCachTinhHocBong_ID;}
			set{if(!_InternalChangedIsNullCachTinhHocBong_ID)_IsNullCachTinhHocBong_ID=value;}
		}
		[DataMember]
		public int MucHocBong_ID{
			get{return _MucHocBong_ID;}
			set{
				_MucHocBong_ID=value;
				if(_MucHocBong_ID!=null){
					_IsNullMucHocBong_ID=false;
					_InternalChangedIsNullMucHocBong_ID=true;
				}
			}
		}
		[DataMember]
		public Decimal TuDiem{
			get{return _TuDiem;}
			set{
				_TuDiem=value;
				if(_TuDiem!=null){
					_IsNullTuDiem=false;
					_InternalChangedIsNullTuDiem=true;
				}
			}
		}
		[DataMember]
		public Decimal DenDiem{
			get{return _DenDiem;}
			set{
				_DenDiem=value;
				if(_DenDiem!=null){
					_IsNullDenDiem=false;
					_InternalChangedIsNullDenDiem=true;
				}
			}
		}
		[DataMember]
		public Decimal SoTien{
			get{return _SoTien;}
			set{
				_SoTien=value;
				if(_SoTien!=null){
					_IsNullSoTien=false;
					_InternalChangedIsNullSoTien=true;
				}
			}
		}
		[DataMember]
		public bool LayCanDuoi{
			get{return _LayCanDuoi;}
			set{
				_LayCanDuoi=value;
				if(_LayCanDuoi!=null){
					_IsNullLayCanDuoi=false;
					_InternalChangedIsNullLayCanDuoi=true;
				}
			}
		}
		[DataMember]
		public bool LayCanTren{
			get{return _LayCanTren;}
			set{
				_LayCanTren=value;
				if(_LayCanTren!=null){
					_IsNullLayCanTren=false;
					_InternalChangedIsNullLayCanTren=true;
				}
			}
		}
		[DataMember]
		public Decimal TuDiemRL{
			get{return _TuDiemRL;}
			set{
				_TuDiemRL=value;
				if(_TuDiemRL!=null){
					_IsNullTuDiemRL=false;
					_InternalChangedIsNullTuDiemRL=true;
				}
			}
		}
		[DataMember]
		public Decimal DenDiemRL{
			get{return _DenDiemRL;}
			set{
				_DenDiemRL=value;
				if(_DenDiemRL!=null){
					_IsNullDenDiemRL=false;
					_InternalChangedIsNullDenDiemRL=true;
				}
			}
		}
		[DataMember]
		public bool LayCanDuoiRL{
			get{return _LayCanDuoiRL;}
			set{
				_LayCanDuoiRL=value;
				if(_LayCanDuoiRL!=null){
					_IsNullLayCanDuoiRL=false;
					_InternalChangedIsNullLayCanDuoiRL=true;
				}
			}
		}
		[DataMember]
		public bool LayCanTrenRL{
			get{return _LayCanTrenRL;}
			set{
				_LayCanTrenRL=value;
				if(_LayCanTrenRL!=null){
					_IsNullLayCanTrenRL=false;
					_InternalChangedIsNullLayCanTrenRL=true;
				}
			}
		}
		[DataMember]
		public string TenMuc{
			get{return _TenMuc;}
			set{
				_TenMuc=value;
				if(_TenMuc!=null){
					_IsNullTenMuc=false;
					_InternalChangedIsNullTenMuc=true;
				}
			}
		}
		[DataMember]
		public int CachTinhHocBong_ID{
			get{return _CachTinhHocBong_ID;}
			set{
				_CachTinhHocBong_ID=value;
				if(_CachTinhHocBong_ID!=null){
					_IsNullCachTinhHocBong_ID=false;
					_InternalChangedIsNullCachTinhHocBong_ID=true;
				}
			}
		}
	}
	/*****************************************************************************************************/
	/**********************************END MucHocBongEntityBase*****************************************/
	/*****************************************************************************************************/
}

